package org.example.system;

import org.example.common.security.annotation.EnableCustomConfig;
import org.example.common.security.annotation.EnableRyFeignClients;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @version 1.0.0
 * @className: SecuritySystemApplication
 * @description:
 * @author: LiJunYi
 * @create: 2022/7/28 15:30
 */
@EnableCustomConfig
@EnableRyFeignClients
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan("org.example")
@MapperScan("org.example.system.dao")
public class SecuritySystemApplication
{
    public static void main(String[] args) {
        SpringApplication.run(SecuritySystemApplication.class, args);
        System.out.println("系统服务启动成功 \n" +
                " ___ _   _  ___ ___ ___  ___ ___ \n" +
                "/ __| | | |/ __/ __/ _ \\/ __/ __|\n" +
                "\\__ \\ |_| | (_| (_|  __/\\__ \\__ \\\n" +
                "|___/\\__,_|\\___\\___\\___||___/___/\n" +
                "                                 ");
    }
}
